﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace SurfaceAsteroids
{
    class Asteroid : SpaceObject
    {

        private int hitpoints;

        public int Hitpoints
        {
            get { return hitpoints; }
            set { hitpoints = value; }
        }

        override public string ObjectType()
        {
            return "asteroid";
        }

        public Asteroid(Vector2 loc, float rot, float vel, Microsoft.Xna.Framework.Graphics.Color col, float sca, Texture2D tex)
            : base(loc, rot, vel, col, sca, tex)
        {
            hitpoints = (int)(sca * 60);
        }
 
    }
}
